package com.asiainfo.work.service.master;

import com.asiainfo.work.entity.UserGroup;
import com.asiainfo.work.entity.UserMergeCode;
import com.asiainfo.work.request.merge.MergeRequest;
import com.asiainfo.work.utils.BaseResponse;
import com.asiainfo.work.utils.PageResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @author: bf
 * @date: 2021/1/4-12:52
 */
public interface MergeService extends IService<UserMergeCode> {
    /**
     * 批量保存 UserMergeCode对象
     * @param list UserMergeCodeList
     */
    void batchInsert(List<UserMergeCode>list);

    /**
     * 查询代码合并信息
     * @param mergeRequest  请求参数
     * @return 分页发返回代码合并详情
     */
    BaseResponse<PageResponse<UserMergeCode>> query(MergeRequest mergeRequest);

    /**
     * 查询所有用户信息
     */
    BaseResponse<List<UserGroup>>queryUserList();

}
